package com.cn.service.server.PartsManagement;

import com.cn.bean.pojo.lbj.ComponentCategory;
import com.cn.config.config.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ComponentCategoryService {
    List<ComponentCategory> selectComponentMechanicalUsageCategory(ComponentCategory category);
    Integer getComponentMechanicalUsageCategoryAutoid();
    Result addComponentMechanicalUsageCategory(@Param("name") String name, @Param("description") String description, @Param("status") int status);
    Result delComponentMechanicalUsageCategoryStatus(@Param("id") int id);
    Result updateComponentMechanicalUsageCategory(@Param("id") int id, @Param("code") String code, @Param("name") String name, @Param("description") String description, @Param("status") int status);
    List<ComponentCategory> selectAllAuyo1();
}
